package com.icitic.springsecurity.service.impl;

import org.springframework.stereotype.Service;

import com.icitic.springsecurity.service.HelloService;

@Service("helloService")
public class HelloServiceImpl implements HelloService {

	@Override
	public String sayHello(String username) {
		return "Hello " + username + ",sayHello() invoke...";
	}

	@Override
	public String sayBye(String username) {
		return "GoodBye " + username + ",sayBye() invoke...";
	}

}
